package com.dstz.crm.core.dao;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.dstz.base.api.query.QueryFilter;
import com.dstz.base.dao.BaseDao;
import com.dstz.crm.core.model.Customer;

/**
 * 案例 DAO接口
 * @author aschs
 * @email aschs@qq.com
 * @time 2018-08-24 18:06:04
 */
public interface CustomerDao extends BaseDao<String, Customer> {
	Integer isCustomerExist(Customer customer);
	List<Customer> queryShare(QueryFilter queryFilter);
	List<Customer> getMyUsableCustomers(QueryFilter queryFilter);
	void updateCustomerTypeBatch(@Param("applicantId")String applicantId,@Param("list")List<String> customers);
	void updateFollowup(Customer customer);
}
